import b_settings

class Position(object):
	def __init__(self, data, x=[], *arguments, **keywords):
		self.data = data
		if len(x) != self.data.settings.dimensions:
			self.x = []
			for i in range(0, self.data.settings.dimensions):
				self.x.append(0.0)
		else:
			self.x = x
	
	def __repr__(self):
		return "{Position: {x: %s}}" % (self.x)
